package com.dlx.order.client;

import com.dlx.vo.order.RechargeOrderReportQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * <h3>smms_parent</h3>
 *
 * @author nglon
 * @description <p>充值订单接口类</p>
 * @date 2021-11-22 13:31
 **/
@FeignClient("service-order")
@Component
public interface RechargeOrderInfoFeignClient {

    @PostMapping("/admin/order/rechargeOrder/getMonthlyReport")
    Map<String, Object> getMonthlyReport(@RequestBody RechargeOrderReportQueryVo rechargeOrderReportQueryVo);

    @PostMapping("/admin/order/rechargeOrder/getQuarterlyReport")
    Map<String, Object> getQuarterlyReport(@RequestBody RechargeOrderReportQueryVo rechargeOrderReportQueryVo);

    @GetMapping("/admin/order/rechargeOrder/getAnnualReport")
    Map<String, Object> getAnnualReport();
}
